import { ApiUpdatePassword } from '@/apis/user'
import { useArcoForm } from '@/composables/useArcoForm'
import { useMutation } from '@tanstack/vue-query'

export function useStudentPatch() {
  const { formRef, formState, onValidateSuccess, validate } = useArcoForm({
    username: '',
    name: '',
    password: ''
  })

  const {} = useMutation({
    mutationFn: ApiUpdatePassword
  })

  return {
    formRef,
    formState
  }
}
